package requset

type ProductCreate struct {
	CategoryId         int    `json:"categoryId" form:"categoryId"`
	ProductName        string `json:"productName" form:"productName"`
	ProductSelling     string `json:"productSelling" form:"productSelling"`
	ProductImage       string `json:"productImage" form:"productImage"`
	VideoUrl           string `json:"videoUrl" form:"videoUrl"`
	ProductStockUnitId int    `json:"productStockUnitId" form:"productStockUnitId"`
}

type ProductOtherInfoCreate struct {
	AfterSalesStatus    int `json:"after_sales_status" form:"after_sales_status"`
	WithoutReasonStatus int `json:"without_reason_status" form:"without_reason_status"`
	ProductStatus       int `json:"product_status" form:"product_status"`
	NoSaleStatus        int `json:"no_sale_status" form:"no_sale_status"`
}
type ProductSpecificationsCreate struct {
	ProductId         int     `json:"product_id" form:"product_id"`
	ProductSpec       string  `json:"product_spec" form:"product_spec"`
	ProductPackage    string  `json:"product_package" form:"product_package"`
	ImageSpec         string  `json:"image_spec" form:"image_spec"`
	SpecCode          string  `json:"spec_code" form:"spec_code"`
	RetailPrice       float64 `json:"retail_price" form:"retail_price"`
	CostPrice         float64 `json:"cost_price" form:"cost_price"`
	StockWarningValue int     `json:"stock_warning_value" form:"stock_warning_value"`
	Stock             int     `json:"stock" form:"stock"`
	Weight            float64 `json:"weight" form:"weight"`
	SaleVolume        int     `json:"sale_volume" form:"sale_volume"`
}

type ProductList struct {
	Page int `json:"page" form:"page"`
	Size int `json:"size" form:"size"`
}
